package com.turing.post.datatranferpmbs.util;

import java.util.HashMap;
import java.util.List;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;

/**
 * 迁移PMBS交易流水
 * 
 * @author zxppanda
 * 
 */
@Remote
@Local
public interface PMBSMchTradDetailBusiness {

	public void transferPMBSMchTradDetail(String merchantNo, String date)
			throws PCPSApplicationException;

	/**
	 * 交易流水表日期
	 * 
	 * @return
	 */
	public List<Object[]> getMchTradDetailTranDateList();

	public void transferPMBSMchAddTradSummary(String date)
			throws PCPSApplicationException;

	public void deleteMapPMBSTradDetail();

	/**
	 * 老数据库数据通过报文调用接口进入新系统
	 * 
	 * @param trandate
	 * @throws PCPSApplicationException
	 */
	public void tranferPMBSDataByTranDate(String icNo, String ip, Integer port,
			String trandate, String merchantNo, boolean tag)
			throws PCPSApplicationException;

	public void pmbsData(PMBSMchTradDetail tradDetail,
			HashMap<String, String> map, HashMap<String, String> merchantMap,
			PMBSMchAddTradSummary addTradSumm, String pwd, String miqi,
			String type, String trankey, String ip, Integer port, boolean tag)
			throws PCPSApplicationException;
}
